﻿using SMARTMobile.WinPhone.Models;
using System.Runtime.Serialization;

namespace SMARTMobile.Models.UI
{
    public class OutletContactModel : BaseModel<OutletContactModel>
    {
        public string _customerKey { get; set; }
        public string _fullname { get; set; }
        public string _role { get; set; }
        public string _gender { get; set; }
        public string _email { get; set; }
        public string _phone { get; set; }
        public string _title { get; set; }

        public OutletContactModel()
        {
            this._customerKey = string.Empty;
            this._fullname = string.Empty;
            this._role = string.Empty;
            this._gender = string.Empty;
            this._email = string.Empty;
            this._phone = string.Empty;
            this._title = string.Empty;
        }

        public string CustomerKey
        {
            get { return this._customerKey; }
            set
            {
                this._customerKey = value;
                base.RaisePropertyChanged(me => me.CustomerKey);
            }
        }

        public string FullName
        {
            get { return this._fullname; }
            set
            {
                this._fullname = value;
                base.RaisePropertyChanged(me => me.FullName);
            }
        }

        public string Role
        {
            get { return this._role; }
            set
            {
                this._role = value;
                base.RaisePropertyChanged(me => me.Role);
            }
        }

        public string Gender
        {
            get { return this._gender; }
            set
            {
                this._gender = value;
                base.RaisePropertyChanged(me => me.Gender);
            }
        }

        public string Email
        {
            get { return this._email; }
            set
            {
                this._email = value;
                base.RaisePropertyChanged(me => me.Email);
            }
        }

        public string Phone
        {
            get { return this._phone; }
            set
            {
                this._phone = value;
                base.RaisePropertyChanged(me => me.Phone);
            }
        }

        public string Title
        {
            get { return this._title; }
            set
            {
                this._title = value;
                base.RaisePropertyChanged(me => me.Title);
            }
        }
    }
}
